package br.com.curso.spring.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class AloMundoController {
	   @RequestMapping("/alomundo")
	   public ModelAndView helloWord(){
		      String mensagem = "Alo Spring 3.0! " + System.currentTimeMillis();
		      return new ModelAndView("alomundo", "mensagem",mensagem);
	   }
  }
